package com.lzj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

@MapperScan("com.lzj.**.mapper")  //消除IDEA的dinner警告
@SpringBootApplication
public class MoocApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(MoocApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  超级系统启动成功   ლ(´ڡ`ლ)ﾞ");
    }

}
